import {defineStore} from 'pinia';

const useRouteStore = defineStore(
    'routeStore',
    {
        state: () => (
            {
                isF5: true,//是否为页面刷新状态
                menuAll: [],//全部路由
                menuLevel0: [],//跟路由（0目录）
                menuLevel1: [],//1级目录
                menuLevel2: [],//2级菜单
                menuFunction: [],//功能
                tabView: [],
            }
        ),
        actions: {
            demo(_key) {
            },
        }
    })

export default useRouteStore;